home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _A1DCC1DAEEAB4CA8B080B50A007827F8 < prev    next >
Encoding:
Text File  |  2002-04-03  |  9.6 KB  |  562 lines

  1. {
  2.     \\ INGAME TEAM MENU
  3.  
  4.     menuDef 
  5.     {
  6.         name            "ingame_team"
  7.         visible            0
  8.         fullScreen        0
  9.         rect            0 0 640 480
  10.         focusColor        1 .75 0 1
  11.         disablecolor    .12 .14 .08 .5
  12.  
  13.         onOpen
  14.         {
  15.         }
  16.  
  17.         onESC
  18.         {
  19.             close    ingame_team;
  20.         }
  21.  
  22.         itemDef
  23.         {
  24.             style        WINDOW_STYLE_FILLED
  25.             type        ITEM_TYPE_BUTTON
  26.             rect        0 0 640 480
  27.             backcolor    0 0 0 .75
  28.             visible        0
  29.             decoration
  30.         }
  31.  
  32.         ////////////////////////////////////////////////////////////////////////
  33.         //  Dialog frame
  34.         ////////////////////////////////////////////////////////////////////////
  35.  
  36.         itemDef
  37.         {
  38.             name        window
  39.             style        WINDOW_STYLE_SHADER
  40.             rect        130 70 380 350
  41.             background    "gfx/menus/ingame/background.png"
  42.             backcolor    1 1 1 1
  43.             visible        1
  44.             decoration
  45.         }
  46.  
  47.         itemDef
  48.         {
  49.             name        window
  50.             style        WINDOW_STYLE_SHADER
  51.             rect        124 65 8 8
  52.             background    "gfx/menus/ingame/frame_topleft.png"
  53.             visible        1
  54.             decoration
  55.         }
  56.  
  57.         itemDef
  58.         {
  59.             name        window
  60.             style        WINDOW_STYLE_SHADER
  61.             rect        130 65 380 8
  62.             background    "gfx/menus/ingame/frame_top.png"
  63.             visible        1
  64.             decoration
  65.         }
  66.  
  67.         itemDef
  68.         {
  69.             name        window
  70.             style        WINDOW_STYLE_SHADER
  71.             rect        510 65 8 8
  72.             background    "gfx/menus/ingame/frame_topright.png"
  73.             visible        1
  74.             decoration
  75.         }
  76.  
  77.         itemDef
  78.         {
  79.             name        window
  80.             style        WINDOW_STYLE_SHADER
  81.             rect        124 420 8 8
  82.             background    "gfx/menus/ingame/frame_bottomleft.png"
  83.             visible        1
  84.             decoration
  85.         }
  86.  
  87.         itemDef
  88.         {
  89.             name        window
  90.             style        WINDOW_STYLE_SHADER
  91.             rect        130 420 380 8
  92.             background    "gfx/menus/ingame/frame_bottom.png"
  93.             visible        1
  94.             decoration
  95.         }
  96.  
  97.         itemDef
  98.         {
  99.             name        window
  100.             style        WINDOW_STYLE_SHADER
  101.             rect        510 420 8 8
  102.             background    "gfx/menus/ingame/frame_bottomright.png"
  103.             visible        1
  104.             decoration
  105.         }
  106.  
  107.         itemDef
  108.         {
  109.             name        window
  110.             style        WINDOW_STYLE_SHADER
  111.             rect        510 70 8 350
  112.             background    "gfx/menus/ingame/frame_right.png"
  113.             visible        1
  114.             decoration
  115.         }
  116.  
  117.         itemDef
  118.         {
  119.             name        window
  120.             style        WINDOW_STYLE_SHADER
  121.             rect        124 70 8 350
  122.             background    "gfx/menus/ingame/frame_left.png"
  123.             visible        1
  124.             decoration
  125.         }
  126.  
  127.         ////////////////////////////////////////////////////////////////////////
  128.         //  Title
  129.         ////////////////////////////////////////////////////////////////////////
  130.         itemDef
  131.         {
  132.             style        WINDOW_STYLE_FILLED
  133.             rect        130 70 378 30
  134.             forecolor    0 0 0 1
  135.             backcolor    0 0 0 .25
  136.             visible        1
  137.             border        1
  138.             bordercolor    0 0 0 1
  139.  
  140.             textalignx    190
  141.             textaligny    5
  142.             textalign    1
  143.             textfont    "hud"
  144.             textscale    .54
  145.             text        "SELECT TEAM"
  146.  
  147.             decoration
  148.         }
  149.  
  150.         ///////////////////////////////////////////////////////////////////////
  151.         // HELP TEXT
  152.         ///////////////////////////////////////////////////////////////////////
  153.         itemDef
  154.         {
  155.             rect                150 110 340 15
  156.             text                "Select the team you wish to join.  Take careful note of the current"
  157.             textfont            "hud"
  158.             textscale            .35
  159.             forecolor            0 0 0 1
  160.             visible                1
  161.             decoration
  162.         }
  163.  
  164.         itemDef
  165.         {
  166.             rect                150 125 340 15
  167.             text                "number of players and score of each team before choosing.  If you "
  168.             textfont            "hud"
  169.             textscale            .35
  170.             forecolor            0 0 0 1
  171.             visible                1
  172.             decoration
  173.         }
  174.  
  175.         itemDef
  176.         {
  177.             rect                150 140 340 15
  178.             text                "would like to join the team that needs you the most hit the"
  179.             textfont            "hud"
  180.             textscale            .35
  181.             forecolor            0 0 0 1
  182.             visible                1
  183.             decoration
  184.         }
  185.  
  186.         itemDef
  187.         {
  188.             rect                150 155 340 15
  189.             text                "'Auto Join' button at the bottom."
  190.             textfont            "hud"
  191.             textscale            .35
  192.             forecolor            0 0 0 1
  193.             visible                1
  194.             decoration
  195.         }
  196.  
  197.         ///////////////////////////////////////////////////////////////////////
  198.         // TEAMS
  199.         ///////////////////////////////////////////////////////////////////////
  200.  
  201.         itemDef
  202.         {
  203.             name            "team_blue"
  204.             type            ITEM_TYPE_BUTTON
  205.             style            WINDOW_STYLE_FILLED
  206.             rect            145 175 170 180
  207.             border            1
  208.             bordercolor        0 0 0 1
  209.             visible            1
  210.  
  211.             backcolor        0 0 0 0
  212.  
  213.             mouseEnter
  214.             {
  215.                 play "sound/misc/menus/hilite1.wav" ; 
  216.  
  217.                 setitemcolor team_blue  backcolor 0 0 0 .25;
  218.             }
  219.  
  220.             mouseExit
  221.             {
  222.                 setitemcolor team_blue  backcolor 0 0 0 0;
  223.             }
  224.  
  225.             action
  226.             {
  227.                 play     "sound/misc/menus/select.wav" ;             
  228.                 close     ingame_team;
  229.                 open     ingame_identity_blue;
  230.             }
  231.         }
  232.  
  233.  
  234.         itemDef
  235.         {
  236.             name            "team_red"
  237.             type            ITEM_TYPE_BUTTON
  238.             style            WINDOW_STYLE_FILLED
  239.             rect            322 175 170 180
  240.             border            1
  241.             bordercolor        0 0 0 1
  242.             visible            1
  243.  
  244.             backcolor        0 0 0 0
  245.  
  246.             mouseEnter
  247.             {
  248.                 play "sound/misc/menus/hilite1.wav" ; 
  249.  
  250.                 setitemcolor team_red  backcolor 0 0 0 .25;
  251.             }
  252.  
  253.             mouseExit
  254.             {
  255.                 setitemcolor team_red  backcolor 0 0 0 0;
  256.             }
  257.  
  258.             action
  259.             {
  260.                 play     "sound/misc/menus/select.wav" ;             
  261.                 close     ingame_team;
  262.                 open     ingame_identity_red;
  263.             }
  264.         }
  265.  
  266.         itemDef
  267.         {
  268.             rect            230 185 0 0
  269.             text            "TEAM COLOR"
  270.             textfont        "hud"
  271.             textscale        .34
  272.             forecolor        0 0 0 .75
  273.             visible            1
  274.             decoration
  275.         }
  276.  
  277.         itemDef
  278.         {
  279.             rect            230 195 0 0
  280.             text            "BLUE"
  281.             textfont        "hud"
  282.             textscale        .43
  283.             forecolor        0 0 0 1
  284.             visible            1
  285.             decoration
  286.         }
  287.  
  288.         itemDef
  289.         {
  290.             rect            410 185 0 0
  291.             text            "TEAM COLOR"
  292.             textfont        "hud"
  293.             textalign        2
  294.             textscale        .34
  295.             forecolor        0 0 0 .75
  296.             visible            1
  297.             decoration
  298.         }
  299.  
  300.         itemDef
  301.         {
  302.             rect            410 195 0 0
  303.             text            "RED"
  304.             textfont        "hud"
  305.             textalign        2
  306.             textscale        .43
  307.             forecolor        0 0 0 1
  308.             visible            1
  309.             decoration
  310.         }
  311.  
  312.  
  313.  
  314.         itemDef
  315.         {
  316.             rect            410 225 0 0
  317.             text            "IDENTITY"
  318.             textfont        "hud"
  319.             textalign        2
  320.             textscale        .34
  321.             forecolor        0 0 0 .75
  322.             visible            1
  323.             decoration
  324.         }
  325.  
  326.         itemDef
  327.         {
  328.             rect            410 235 0 0
  329.             cvar            "ui_info_redteam"
  330.             textfont        "hud"
  331.             textalign        2
  332.             textscale        .43
  333.             forecolor        0 0 0 1
  334.             visible            1
  335.             decoration
  336.         }
  337.  
  338.         itemDef
  339.         {
  340.             rect            230 225 0 0
  341.             text            "IDENTITY"
  342.             textfont        "hud"
  343.             textscale        .34
  344.             forecolor        0 0 0 .75
  345.             visible            1
  346.             decoration
  347.         }
  348.  
  349.         itemDef
  350.         {
  351.             rect            230 235 0 0
  352.             cvar            "ui_info_blueteam"
  353.             textfont        "hud"
  354.             textscale        .43
  355.             forecolor        0 0 0 1
  356.             visible            1
  357.             decoration
  358.         }
  359.  
  360.  
  361.  
  362.  
  363.         itemDef
  364.         {
  365.             rect            410 265 0 0
  366.             text            "PLAYERS"
  367.             textfont        "hud"
  368.             textalign        2
  369.             textscale        .34
  370.             forecolor        0 0 0 .75
  371.             visible            1
  372.             decoration
  373.         }
  374.  
  375.         itemDef
  376.         {
  377.             rect            410 275 0 0
  378.             cvar            ui_info_redcount
  379.             textfont        "hud"
  380.             textalign        2
  381.             textscale        .43
  382.             forecolor        0 0 0 1
  383.             visible            1
  384.             decoration
  385.         }
  386.  
  387.         itemDef
  388.         {
  389.             rect            230 265 0 0
  390.             text            "PLAYERS"
  391.             textfont        "hud"
  392.             textscale        .34
  393.             forecolor        0 0 0 .75
  394.             visible            1
  395.             decoration
  396.         }
  397.  
  398.         itemDef
  399.         {
  400.             rect            230 275 0 0
  401.             cvar            ui_info_bluecount
  402.             textfont        "hud"
  403.             textscale        .43
  404.             forecolor        0 0 0 1
  405.             visible            1
  406.             decoration
  407.         }
  408.  
  409.  
  410.  
  411.  
  412.         itemDef
  413.         {
  414.             rect            410 305 0 0
  415.             text            "SCORE"
  416.             textfont        "hud"
  417.             textalign        2
  418.             textscale        .34
  419.             forecolor        0 0 0 .75
  420.             visible            1
  421.             decoration
  422.         }
  423.  
  424.         itemDef
  425.         {
  426.             rect            410 315 0 0
  427.             cvar            ui_info_redscore
  428.             textfont        "hud"
  429.             textalign        2
  430.             textscale        .43
  431.             forecolor        0 0 0 1
  432.             visible            1
  433.             decoration
  434.         }
  435.  
  436.         itemDef
  437.         {
  438.             rect            230 305 0 0
  439.             text            "SCORE"
  440.             textfont        "hud"
  441.             textscale        .34
  442.             forecolor        0 0 0 .75
  443.             visible            1
  444.             decoration
  445.         }
  446.  
  447.         itemDef
  448.         {
  449.             rect            230 315 0 0
  450.             cvar            ui_info_bluescore
  451.             textfont        "hud"
  452.             textscale        .43
  453.             forecolor        0 0 0 1
  454.             visible            1
  455.             decoration
  456.         }
  457.  
  458.  
  459.  
  460.  
  461.         itemDef
  462.         {
  463.             rect            155 180 68 142
  464.             border            0
  465.             bordercolor        0 0 0 1
  466.             visible            1
  467.             ownerdraw        UI_BLUETEAM_IDENTITY
  468.             ownerdrawparam    0
  469.             decoration
  470.         }
  471.  
  472.         itemDef
  473.         {
  474.             rect            417 180 68 142
  475.             border            0
  476.             bordercolor        0 0 0 1
  477.             visible            1
  478.             ownerdraw        UI_REDTEAM_IDENTITY
  479.             ownerdrawparam    0
  480.             decoration
  481.         }
  482.  
  483.         ///////////////////////////////////////////////////////////////////////
  484.         // BUTTONS
  485.         ///////////////////////////////////////////////////////////////////////
  486.  
  487.         itemDef 
  488.         {
  489.             name        autoteam_button
  490.             text        "Auto Join"
  491.             type        1
  492.             textfont    "hud"
  493.             textscale    .53
  494.             type        ITEM_TYPE_BUTTON
  495.             style        WINDOW_STYLE_FILLED
  496.             rect        210 370 100 26
  497.             textalignx    10
  498.             textaligny    4
  499.             forecolor    0 0 0 1
  500.             backcolor    0 0 0 0
  501.             border        1
  502.             bordercolor    0 0 0 1
  503.             visible        1
  504.             
  505.             action 
  506.             { 
  507.                 play        "sound/misc/menus/select.wav" ; 
  508.                 uiScript    autoTeamJoin ingame_identity_red ingame_identity_blue ;
  509.                 close        "ingame_team" ;
  510.             }
  511.             mouseEnter 
  512.             { 
  513.                 play "sound/misc/menus/hilite1.wav" ; 
  514.                 setitemcolor autoteam_button backcolor .12 .14 .08 1
  515.                 setitemcolor autoteam_button forecolor .49 .56 .27 1
  516.             }                 
  517.             mouseExit 
  518.             { 
  519.                 setitemcolor autoteam_button backcolor 0 0 0 0
  520.                 setitemcolor autoteam_button forecolor 0 0 0 1
  521.             }
  522.         }
  523.  
  524.         itemDef 
  525.         {
  526.             name        spec_button
  527.             text        "Spectate"
  528.             type        1
  529.             textfont    "hud"
  530.             textscale    .53
  531.             type        ITEM_TYPE_BUTTON
  532.             style        WINDOW_STYLE_FILLED
  533.             rect        325 370 100 26
  534.             textalignx    15
  535.             textaligny    4
  536.             forecolor    0 0 0 1
  537.             backcolor    0 0 0 0
  538.             border        1
  539.             bordercolor    0 0 0 1
  540.             visible        1
  541.             
  542.             action 
  543.             { 
  544.                 play        "sound/misc/menus/select.wav" ; 
  545.                 exec        "cmd team s" ;
  546.                 close        "ingame_team" ;
  547.             }
  548.             mouseEnter 
  549.             { 
  550.                 play "sound/misc/menus/hilite1.wav" ; 
  551.                 setitemcolor spec_button backcolor .12 .14 .08 1
  552.                 setitemcolor spec_button forecolor .49 .56 .27 1
  553.             }                 
  554.             mouseExit 
  555.             { 
  556.                 setitemcolor spec_button backcolor 0 0 0 0
  557.                 setitemcolor spec_button forecolor 0 0 0 1
  558.             }
  559.         }
  560.     }
  561. }
  562.